307e60562d596a385d97818c50d5e90390e88c0e,src/main/java/com/couchbase/lite/store/ForestDBViewStore.java,ForestDBViewStore,reducedQuery,#QueryOptions#,461
Before Change
final ForestDBViewStore that = this;
final List<QueryRow> rows = new ArrayList<QueryRow>();
if(openIndex() == null)
return null;
IndexEnumerator e = runForestQuery(new QueryOptions());
try {
while (e.next()) {
Object keyObject = ForestDBCollatorUtil.read(e.key());
Object valueObject = ForestDBCollatorUtil.read(e.value());
if (group && !groupTogether(keyObject, lastKeys[0], groupLevel)) {
if (lastKeys[0] != null) {
After Change
final List<QueryRow> rows = new ArrayList<QueryRow>();
try {
openIndex();
} catch (ForestException e) {
throw new CouchbaseLiteException(e.code);
}